package networking.messages.syncMessages;

import logic.common.player.Player;
import map.spawnStation.SpawnStation;
import networking.messages.SimpleMessage;

public class SpawnStationSyncMessage extends SimpleMessage {
	
	private float points;
	private int objectID, playerID;
	
	public SpawnStationSyncMessage() {
		super();
	}

	public SpawnStationSyncMessage(SpawnStation station, Player player) {
		this();
		points = station.getCapturePoints();
		playerID = player.getID();
		objectID = station.getID();
	}
	
	public float getPoints() { return points; }
	
	public int getPlayerID() { return playerID; }
	
	public int getObjectID() { return objectID; }
}